/*
 * @Author: hpc(hepch)
 * @Date: 2021-05-25 14:23:36
 * @LastEditors: 杨光辉(GerhardYang)
 * @LastEditTime: 2021-06-04 12:16:06
 * @Description:filecontent
 * @Copyright: 超图软件华中平台客户中心 (SuperMap Software Co., Ltd. -Central China Platform)
 */
const plateColorJson = {
  蓝色: "1",
  黄色: "2",
  黑色: "3",
  白色: "4",
  其他: "9",
  农黄: "5",
  农绿: "7",
  农蓝: "6",
};

export function plateColorkeyValue(colorname) {
  for (let key in plateColorJson) {
    if (plateColorJson[key])
      if (key == colorname) {
        return plateColorJson[key];
      }
  }
}
